<?php
/**
 * problem.phtml
 * 
 * @category    Madoqua
 * @package     Install
 * @subpackage  View
 */
?>
<h2>Problem</h2>
<p>
    The installer failed to set up rewriting for your host. This could mean one of a few things:
</p>
    <?php if(isset($this->htaccess)): ?>
	<ul>
    	<li>
      	The installer failed to write the proper .htaccess file. You should check this manually. Here is a sample .htacess
		that *should* work with your server/hosting setup. Please save this as .htaccess in your web root and refresh
		the page.
    	</li>
	</ul>    
    <pre>
        <?php echo $this->escape($this->htaccess); ?>
    </pre>
    
    <?php else:?>
<ul>
    <li>
        Your apache install does not allow .htaccess overrides. You can fix this by setting
        <code>AllowOverride All</code> in your httpd.conf.
    </li>
    <li>
        You don't have mod_rewrite enabled. You can do this by uncommenting it in your httpd.conf.
        On some unix-based hosts you may have to install the module separately
    </li>
    <li>
        The installer failed to write the proper .htaccess file. You should check this manually.
    </li>
</ul>
	<?php endif; ?>